<?php
declare (strict_types = 1);

namespace app\mall\model;

use think\Model;

/**
 * @mixin Model
 */
class MallAct extends MallBase
{
    /**
     *  活动详细介绍
     * @return \think\model\relation\HasOne
     */
    public function detail()
    {
        return $this->hasOne(MallActDetail::class, 'id', 'act_id');
    }
}
